Sometimes you need to send REST requests with query parameters from a Spring Boot application context. Fortunately, you can easily do that with WebClient.
Sometimes you need to create a new collection on the fly from a MongoDB aggregation pipeline. Fortunately, you can easily do that with MongoTemplate using the addToSet operation.
If you've used the Google to learn about how to implement AuthenticationFailureHandler with Spring Security, you might have noticed that most of the results deal with embedded login forms.
It's often the case with REST requests that you don't get a good response on the first try. Fortunately, you can implement a retry strategy with the Spring WebFlux WebClient API.
Let's face it: sometimes you don't always get the response that you're expecting. And when you're using the Spring WebFlux WebClient interface to make a request, you need to handle those error conditions.
The Spring WebFlux WebClient interface enables you to handle web requests from service to service. But you're going to need to take extra steps if you want detailed logging.